projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a95f32c
)
xend: create /var/lock/subsys at startup
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 25 Jun 2009 12:14:03 +0000
(13:14 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 25 Jun 2009 12:14:03 +0000
(13:14 +0100)
Ubuntu puts /var/lock on tmpfs, so we should create /var/lock at
startup, rather than at installation time.
Signed-off-by: Jun Koi <junkoi2004@gmail.com>
tools/hotplug/Linux/init.d/xend
patch
|
blob
|
history
diff --git
a/tools/hotplug/Linux/init.d/xend
b/tools/hotplug/Linux/init.d/xend
index 32dfc84132cd154c76148d398abc00acd011b2e8..b98924a4591be85ec9d68ddf0aa9ce3da7327f3e 100755
(executable)
--- a/
tools/hotplug/Linux/init.d/xend
+++ b/
tools/hotplug/Linux/init.d/xend
@@
-39,6
+39,7
@@
function await_daemons_up
case "$1" in
start)
+ mkdir -p /var/lock/subsys
touch /var/lock/subsys/xend
xend start
await_daemons_up